Skip to content

[TASK] Implement Value::getArrayRepresentation() - #1480

Merged
JakeQZ merged 1 commit into
mainfrom
task/array-rep/value
Jan 25, 2026
Merged

[TASK] Implement Value::getArrayRepresentation()#1480
JakeQZ merged 1 commit into
mainfrom
task/array-rep/value

Conversation

@oliverklee

Copy link
Copy Markdown
Collaborator

This implementation might get removed if all subclasses have their own implementation without needing the parent class implementation.

Part of #1440.

This implementation might get removed if all subclasses have
their own implementation without needing the parent class
implementation.

Part of #1440.
@oliverklee
oliverklee requested a review from JakeQZ January 25, 2026 13:12
@oliverklee oliverklee self-assigned this Jan 25, 2026
@oliverklee oliverklee added testing PRs/issues adding additional tests only, or primarily testing-focused developer-specific Issues that only affect maintainers, contributors, and people submitting PRs labels Jan 25, 2026
@coveralls

Copy link
Copy Markdown

Coverage Status

coverage: 71.315% (-0.01%) from 71.329%
when pulling 7121481 on task/array-rep/value
into 6455dd1 on main.

@JakeQZ JakeQZ left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Descendent classes could call this parent method and merge the array, so they don't have make the getShortClassName() call themselves. Though the current implementations are, of course, not doing that (yet).

I wondered whether this would lead to an incomplete implementation in descendent classes where the method has not yet been implemented, but

  • I don't think that matters;
  • All descendent classes I checked have their own stub method throwing an exception, or an actual implementation.

This is a somewhat redundant change at the moment, until any descendent classes use parent::getArrayRepresentation(), but is nonetheless good for completeness.

@JakeQZ
JakeQZ merged commit 416f6a7 into main Jan 25, 2026
24 checks passed
@JakeQZ
JakeQZ deleted the task/array-rep/value branch January 25, 2026 18:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

developer-specific Issues that only affect maintainers, contributors, and people submitting PRs testing PRs/issues adding additional tests only, or primarily testing-focused

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants